package com.yunkaweilai.android.model.shop;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/8/31.
 */

public class ShopInfoDiyModel {

    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"info":[{"id":"19","field_name":"时间选择框","field_type":"select_time","field_content":"请输入时间1","field_contents":["请输入时间1"]},{"id":"18","field_name":"多选框","field_type":"checkbox","field_content":["多选1","多选2","多选3","多选4"],"field_contents":["多选1","多选2","多选3","多选4"]},{"id":"17","field_name":"单选框","field_type":"radio","field_content":["选择1","选择2","选择3"],"field_contents":["选择1","选择2","选择3"]},{"id":"9","field_name":"美白套餐","field_type":"text","field_content":"时间是","field_contents":["时间是"]}]}
     */

    private int loginCode;
    private int code;
    private String message;
    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 19
         * field_name : 时间选择框
         * field_type : select_time
         * field_content : 请输入时间1
         * field_contents : ["请输入时间1"]
         */

        private List<InfoBean> info;

        public List<InfoBean> getInfo() {
            return info;
        }

        public void setInfo(List<InfoBean> info) {
            this.info = info;
        }

        public static class InfoBean {
            private String id;
            private String field_name;
            private String field_type;
            private ArrayList<String> field_contents;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getField_name() {
                return field_name;
            }

            public void setField_name(String field_name) {
                this.field_name = field_name;
            }

            public String getField_type() {
                return field_type;
            }

            public void setField_type(String field_type) {
                this.field_type = field_type;
            }

            public ArrayList<String> getField_contents() {
                return field_contents;
            }

            public void setField_contents(ArrayList<String> field_contents) {
                this.field_contents = field_contents;
            }
        }
    }
}
